package com.sixks.app.domain;

import java.util.Map;

/**
 * @author colin
 * @date: 02/03/2014
 * @time: 22:03
 */
public class AttrValue {
    private int belongTo;
    private String id;
    private String zh;
    private String en;

    public int getBelongTo() {
        return belongTo;
    }

    public void setBelongTo(int belongTo) {
        this.belongTo = belongTo;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getZh() {
        return zh;
    }

    public void setZh(String zh) {
        this.zh = zh;
    }

    public String getEn() {
        return en;
    }

    public void setEn(String en) {
        this.en = en;
    }
    public void setNames(Map names){
        zh = names.get("zh").toString();
        en = names.get("en").toString();
    }
}
